package com.unohacha.qqj.mylibrary.listener;

import android.app.Activity;
import android.widget.PopupWindow;

import com.unohacha.qqj.mylibrary.util.CommonUtils;


/**
 * 说明: 弹出框关闭回调，背景改成不透明
 * 作者: fangkaijin on 2017/5/17.18:19
 * 邮箱: fangkaijin@gmail.com
 */

public class PoponDismissListener implements PopupWindow.OnDismissListener {

    private Activity aty;
    public
    PoponDismissListener ( Activity aty )
    {
        this.aty = aty;
    }
    @Override
    public
    void onDismiss ( )
    {
        CommonUtils.backgroundAlpha(aty, 1.0f);

    }
}
